SG Window Window Object
Redraw Method

©1998 by Stinga

Properties     Methods      Events     Constants     Error Codes
Description

Redraws attached window.

Syntax

object.Redraw(Optional flags As RedrawFlag =  rdw_ERASE + rdw_INVALIDATE + rdw_UPDATENOW)

Part Description
object The object is expression that evaluates to Window object
flags Optional. Specifies redraw flags. Value must be combination of the constants defined in the RedrawFlag enumeration.
Remarks

flags parameter must be combination of these constants:

rdw_INVALIDATE Invalidate entire window
rdw_INTERNALPAINT Causes a WM_PAINT message to be posted to the window regardless of whether any portion of the window is invalid
rdw_ERASE Causes the window to receive a WM_ERASEBKGND message when the window is repainted.
rdw_VALIDATE Validates entire window
rdw_NOINTERNALPAINT Suppresses any pending internal WM_PAINT messages.
rdw_NOERASE Suppresses any pending WM_ERASEBKGND messages
rdw_NOCHILDREN Excludes child windows, if any, from the repainting operation
rdw_ALLCHILDREN Includes child windows, if any, in the repainting operation
rdw_UPDATENOW Causes the affected windows to receive WM_NCPAINT, WM_ERASEBKGND, and WM_PAINT messages, if necessary, before the function returns.
rdw_ERASENOW Causes the affected windows to receive WM_NCPAINT and WM_ERASEBKGND messages, if necessary, before the function returns.
rdw_FRAME Causes any part of the nonclient area of the window to receive a WM_NCPAINT message.
rdw_NOFRAME Suppresses any pending WM_NCPAINT messages